QT       += core gui xml script

TARGET = jslib
TEMPLATE = lib

DESTDIR = ../../jseditor/bin


UI_DIR=../../jseditor/js_lib/ui
MOC_DIR=../../jseditor/js_lib/moc
OBJECTS_DIR=../../jseditor/js_lib/obj
RCC_DIR=../../jseditor/js_lib/rcc

DEFINES += JS_LIB
DEFINES += QMLJS_BUILD_DIR

HEADERS += \
    parser/qmldirparser_p.h \
    parser/qmlerror.h \
    parser/qmljsast_p.h \
    parser/qmljsparser_p.h \
    parser/qmljsmemorypool_p.h \
    parser/qmljslexer_p.h \
    parser/qmljskeywords_p.h \
    parser/qmljsgrammar_p.h \
    parser/qmljsglobal_p.h \
    parser/qmljsengine_p.h \
    parser/qmljsastvisitor_p.h \
    parser/qmljsastfwd_p.h \
    qmljsvalueowner.h \
    qmljsutils.h \
    qmljstypedescriptionreader.h \
    qmljsstaticanalysismessage.h \
    qmljssimplereader.h \
    qmljsscopechain.h \
    qmljsscopebuilder.h \
    qmljsscopeastpath.h \
    qmljsscanner.h \
    qmljsrewriter.h \
    qmljsreformatter.h \
    qmljsqrcparser.h \
    qmljspropertyreader.h \
    qmljsmodelmanagerinterface.h \
    qmljslink.h \
    qmljslineinfo.h \
    qmljsinterpreter.h \
    qmljsindenter.h \
    qmljsicontextpane.h \
    qmljsicons.h \
    qmljsevaluate.h \
    qmljsdocument.h \
    qmljsdelta.h \
    qmljscontext.h \
    qmljscompletioncontextfinder.h \
    qmljscodeformatter.h \
    qmljscheck.h \
    qmljsbundle.h \
    qmljsbind.h \
    qmljs_global.h \
    persistenttrie.h \
    jsoncheck.h \
    iscriptevaluator.h \
    consolemanagerinterface.h \
    consoleitem.h \
    fakemetaobject.h \
    componentversion.h \
    changeset.h \
    qtcassert.h \
    json.h \
    savefile.h \
    fileutils.h \
    hostosinfo.h

SOURCES += \
    parser/qmldirparser.cpp \
    parser/qmlerror.cpp \
    parser/qmljsast.cpp \
    parser/qmljsparser.cpp \
    parser/qmljslexer.cpp \
    parser/qmljsgrammar.cpp \
    parser/qmljsengine_p.cpp \
    parser/qmljsastvisitor.cpp \
    qmljsvalueowner.cpp \
    qmljsutils.cpp \
    qmljstypedescriptionreader.cpp \
    qmljsstaticanalysismessage.cpp \
    qmljssimplereader.cpp \
    qmljsscopechain.cpp \
    qmljsscopebuilder.cpp \
    qmljsscopeastpath.cpp \
    qmljsscanner.cpp \
    qmljsrewriter.cpp \
    qmljsreformatter.cpp \
    qmljsqrcparser.cpp \
    qmljspropertyreader.cpp \
    qmljsmodelmanagerinterface.cpp \
    qmljslink.cpp \
    qmljslineinfo.cpp \
    qmljsinterpreter.cpp \
    qmljsindenter.cpp \
    qmljsicons.cpp \
    qmljsevaluate.cpp \
    qmljsdocument.cpp \
    qmljsdelta.cpp \
    qmljscontext.cpp \
    qmljscompletioncontextfinder.cpp \
    qmljscodeformatter.cpp \
    qmljscheck.cpp \
    qmljsbundle.cpp \
    qmljsbind.cpp \
    persistenttrie.cpp \
    jsoncheck.cpp \
    consolemanagerinterface.cpp \
    consoleitem.cpp \
    fakemetaobject.cpp \
    componentversion.cpp \
    changeset.cpp \
    qtcassert.cpp \
    json.cpp \
    savefile.cpp \
    fileutils.cpp \
    hostosinfo.cpp

RESOURCES += \
    qmljs.qrc
